package com.albaba.designpattern.factory.text_004.factory;

import com.albaba.designpattern.factory.text_004.product.AbstractFreezer;
import com.albaba.designpattern.factory.text_004.product.AbstractTV;
import com.albaba.designpattern.factory.text_004.product.HairFreezer;
import com.albaba.designpattern.factory.text_004.product.HairTV;

/**
 * @Description: 具体工厂
 * @Author zx
 * @Date 2025/2/19 16:02
 * @Version 1.0
 */
public class HairFactory implements AppliancesFactory{
    @Override
    public AbstractTV createTV() {
        return new HairTV();
    }

    @Override
    public AbstractFreezer createFreezer() {
        return new HairFreezer();
    }
}
